package com.szrt.java.day20170113.ch06;

public class FlyCarTest {
	
	public static void main(String[] args) {
		
		CommonCar car = new CommonCar();
		SwimCar swim = new SwimCar(car);
		FlyCar fly = new FlyCar(swim);
	//	fly.setCar(swim);
		fly.drive();
		
	}

}
